package com.powernode.model.entity.payment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.powernode.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = false)
@Data
@Schema(description = "ProfitSharingInfo")
@TableName("profit_sharing_info")
public class ProfitSharingInfo extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "配送员id")
    @TableField("driver_id")
    private Long driverId;
    @Schema(description = "订单号")
    @TableField("order_no")
    private String orderNo;
    @Schema(description = "微信支付订单号")
    @TableField("transaction_id")
    private String transactionId;
    @Schema(description = "商户分账单号")
    @TableField("out_trade_no")
    private String outTradeNo;
    @Schema(description = "配送员分账金额")
    @TableField("amount")
    private String amount;
    @Schema(description = "分账单状态（PROCESSING：处理中、FINISHED：分账完成）")
    @TableField("state")
    private String state;
    @Schema(description = "返回信息")
    @TableField("response_content")
    private String responseContent;
}